<?php if (!defined('THINK_PATH')) exit();?><!-- Main content -->
    <section class="content">
      <!-- Your Page Content Here -->
	<div class="col-md-12">
          <!-- Horizontal Form -->
          <div class="box box-info">
            <div class="box-header with-border">
              <h3 class="box-title">新建用户组</h3>
            </div>
            <!-- /.box-header -->
            <!-- form start -->
            <form class="form-horizontal" method="post" action="form.html">
              <div class="box-body">
                <div class="form-group">

                  <label for="inputname" class="col-sm-1 control-label">用户组名称</label>
				  <div class="col-sm-11">
                    <input type="text" class="form-control" name="name" id="inputname" placeholder="用户组名称">


                  </div>

                </div>
                
				<div class="form-group">

                  <label class="col-sm-1 control-label">用户组权限</label>


                  <div class="col-sm-11">

                          <h4 class="box-title">管理员权限</h4>
                          <?php if(is_array($rules)): $i = 0; $__LIST__ = $rules;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; switch($vo['classid']): case "1": ?><label><input type="checkbox" /><?php echo ($vo["title"]); ?></label><?php break; endswitch; endforeach; endif; else: echo "" ;endif; ?>

                          <h4 class="box-title">会员权限</h4>
                          <?php if(is_array($rules)): $i = 0; $__LIST__ = $rules;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i; switch($vo['classid']): case "2": ?><label><input type="checkbox" /><?php echo ($vo["title"]); ?></label><?php break; endswitch; endforeach; endif; else: echo "" ;endif; ?>
                      
                      
					
                  </div>
                </div>









              </div>
              <!-- /.box-body -->
              <div class="box-footer">

                <button type="reset" class="btn btn-default">重置</button>
                <button type="submit" class="btn btn-info pull-right">确定</button>

              </div>
              <!-- /.box-footer -->
            </form>
          </div>
          <!-- /.box -->
 
        </div>




    </section>
    <!-- /.content -->